package com.zwps.biz.api.model.dto.mointordentify;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;
@Data
public class AlarmMessageDTO {
    private String alarmId;
    private String alarmFlag;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;
    private String comment;
    private String deviceId;
    private String filePath;
    private String identifyFile;
    private IdentifyData identifyData;

    @Data
    public static class IdentifyData {
        private Sumup sumup;
        private Detail  detail;
    }
    @Data
    public static class Detail {
        private int total;
        private List<List<String>> box;
        private List<Integer> conf;
        private List<String> name;
    }
    @Data
    public static class Sumup {
        private int total;
        private List<String> name;
        private List<Integer> count;

    }
}
